import { Component, ChangeDetectionStrategy, OnInit, OnDestroy, Input, ChangeDetectorRef, NgZone } from '@angular/core';
import { Subscription } from 'rxjs';
import { ProductViewComponent } from '../../product-view/product-view.component';

/**
 * 产品价格
 */
@Component({
  selector: 'product-price',
  templateUrl: './product-price.component.html',
  styleUrls: ['./product-price.component.less'],
  host: {},
  changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ProductPriceComponent implements OnInit, OnDestroy {
  @Input()
  price: { [key: string]: any } = {};

  constructor(private cdr: ChangeDetectorRef) {}

  ngOnInit(): void {}

  ngOnDestroy(): void {}
}
